<!--/*--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>XCenter Administrator's Control Panel</title>
    <link id="mastercss" rel="stylesheet" href="images/style.css" type="text/css" media="screen"/>
    <script src="include/js/common.js" type="text/javascript"></script>
</head>
<body><!--*/-->
<!--{&header,${title!},内容管理&nbsp;&raquo;&nbsp;站点管理&nbsp;&raquo;&nbsp;编辑栏目 - 内部栏目}-->
<!--{!#system,common}-->
<div id="newslisttab">
    <ul>
        <li></li>
        <li class="active" id="tabTitle0"><a class="hideFocus" onclick="showTabs(0);" href="javascript:;">基本信息</a></li>
        <li id="tabTitle1"><a class="hideFocus"  onclick="showTabs(1);" href="javascript:;">扩展设置</a></li>
        <li style="float:right" class="active"><a>编辑栏目</a></li>
        <li style="float:right"><a href="#{cms/site}#">管理站点</a></li>
    </ul>
</div>
<form method="post" action="#{/cms/editsite/${pid}/${site[siteid]}}#" enctype="multipart/form-data">
    <table cellspacing="0" cellpadding="0" width="100%" class="maintable">
        <tbody id='tabs0'>
        <tr>
            <th width='30%'><strong>上级栏目</strong></th>
            <td>
                ${cList}
            </td>
        </tr>
        <tr>
            <th><span class="sred">*</span> 栏目名称</th>
            <td><input name='site[sitename]' type='text' id='sitename' value="${site[sitename]}" size='40' maxlength='50' class="txt"> </td>
        </tr>
        <tr>
            <th><span class="sred">*</span> 栏目目录</th>
            <td><input name='site[sitedir]' type='text' id='sitedir' size='20' maxlength='50' class="txt" value="${site[sitedir]}">
            </td>
        </tr>
        <tr>
            <th>栏目图片</th>
            <td><input name='site[image]' type='text' id='image' size='40' class="txt" value="${site[image]}" maxlength='50'></td>
        </tr>
        <tr>
            <th>栏目介绍<br></th>
            <td><textarea name='site[description]' id='description' style="width:90%;height:50px">${site[description]}</textarea></td>
        </tr>

        <tr>
            <th>META Title（栏目标题）<br/>针对搜索引擎设置的标题</th>
            <td><input name='setting[meta_title]' type='text' id='meta_title' size='60' maxlength='60' value="${setting[meta_title]}" class="txt"></td>
        </tr>
        <tr>
            <th>META Keywords（栏目关键词）<br/>针对搜索引擎设置的关键词</th>
            <td><textarea name='setting[meta_keywords]' id='meta_keywords' style="width:90%;height:40px">${setting[meta_keywords]}</textarea>
            </td>
        </tr>
        <tr>
            <th>META Description（栏目描述）<br/>针对搜索引擎设置的网页描述</th>
            <td><textarea name='setting[meta_description]' id='meta_description'
                          style="width:90%;height:50px">${setting[meta_description]}</textarea></td>
        </tr>
        </tbody>

        <tbody id='tabs1' style='display:none'>
        <tr>
            <th width='30%'>栏目页模板</th>
            <td></td>
        </tr>
        <tr>
            <th>列表页模板</th>
            <td></td>
        </tr>
        <tr>
            <th>内容页模板</th>
            <td></td>
        </tr>
        <tr>
            <th>打印页模板</th>
            <td></td>
        </tr>
        </tbody>
    </table>

    <div class="buttons">
        <input type="hidden" name="site[type]" value="${site[type]}">
        <input type="submit" name="submit" value="{!common_submit}" class="submit">
    </div>

</form>
<!--{&footer}-->
<!--/*-->
</body>
</html><!--*/-->